#!/usr/bin/env python
#-*- coding:utf-8 -*-
# author:Vergil
# datetime:2018/11/19 14:37
import json
import time
import win32api, win32con
import os
from monitor_client.server_client import get_network_infos
import wmi

# mainboard = wmi.WMI().Win32_BaseBoard()[0]
cpu = wmi.WMI().Win32_Processor()[0]
net = wmi.WMI().Win32_NetworkAdapterConfiguration()[0]

def te():

    def tes():
        return 321321

    return tes()


if __name__ == '__main__':
    os.popen('start "c:/Users/Vergil/Desktop/test/dist/arg.exe" {}'.format(json.loads({"name": "v"})))
    # print te()
    # print get_temperature()
    # print get_network_infos()
    # input('please do not close')

